home *** CD-ROM | disk | FTP | other *** search
/ The Arsenal Files 8 / The Arsenal Files Collection #8 (Arsenal Computer) (1996).ISO / telecom / qemmter4.zip / TP.BAT < prev   
DOS Batch File  |  1996-06-10  |  3KB  |  84 lines

  1. @Echo off
  2.  
  3. C:\TE\TERMINAT /POINT %1 %2 %3 %4 %5 %6 %7 %8
  4.  
  5. If Errorlevel 255 Goto Fatal
  6. If Errorlevel 254 Goto OvrError
  7. If Errorlevel 253 Goto PwdError
  8. If Errorlevel 252 Goto LockError
  9. If Errorlevel 251 Goto NoDiskSpace
  10. If Errorlevel 250 Goto InActive
  11. If Errorlevel 249 Goto SemaphoreExit
  12. If Errorlevel 248 Goto HostShutDown
  13.  
  14. Goto End
  15.  
  16. Rem        This file belongs to Terminate the final terminal program
  17. Rem                Copyright 1992,96 by Strathrory Systems Ltd.
  18. Rem
  19. Rem    There is no need to include the Terminate directory in your PATH
  20. Rem    statement. Just specify the complete path to the TERMINAT.EXE file.
  21. Rem    When Terminate is started, the current path will be saved, then
  22. Rem    changed to the directory where TERMINAT.EXE is placed in, and when
  23. Rem    exiting Terminate, the old path will be restored.
  24. Rem    Just change line 3 to your direct path to the TERMINAT.EXE file and
  25. Rem    move this file (TE.BAT) to a directory in your PATH (C:\BAT,C:\DOS).
  26. Rem    Then you can start Terminate from anywhere just by typing TE.
  27. Rem
  28. Rem    Try TERMINAT ? for a list of all options
  29. Rem
  30. Rem    Extra information on some of the options:
  31. Rem
  32. Rem    /C:....  You can specify another configuration file in case you use
  33. Rem             different machines. If no path is specified then we will
  34. Rem             assume the configfile to be placed in the same directory as
  35. Rem             TERMINAT.EXE, but you can specify an entire path if you like.
  36. Rem             If using network you should define a environment variabel,
  37. Rem             in your autoexec.bat like: SET NET=04
  38. Rem             And then use /C=CONFIG%NET%.CFG, the %NET% will then be
  39. Rem             replaced with 04 and the file CONFIG04.CFG will be used.
  40. Rem
  41. Rem    /BUF:xxx If you have XMS or EMS enough for loading the overlay file
  42. Rem             you will not need to use this parameter.
  43. Rem             For slow machines you can increase the speed of menus
  44. Rem             significantly. Try adding 50k and see if it helps.
  45. Rem
  46. Rem    /PORT:x  If you machine hangs because of wrong comport or hardware
  47. Rem             conflict or anything, try starting Terminate with a comport
  48. Rem             you know exists.
  49. Rem
  50. Rem    /MODE:x  If you have any kind of problem detecting your videocard,
  51. Rem             you can force detection with this command, it can be useful
  52. Rem             to force the videomode, because then no hardware testing will
  53. Rem             be tried, which could mess up the registers in your videocard.
  54. Rem             /SCRLEN and /SCRCOL should also be used here to force the
  55. Rem             screensize if you are using some non standard size.
  56.  
  57. :Fatal
  58. Goto End
  59.  
  60. :OvrError
  61. Goto End
  62.  
  63. :PwdError
  64. Goto End
  65.  
  66. :LockError
  67. Goto End
  68.  
  69. :NoDiskSpace
  70. Goto End
  71.  
  72. :InActive
  73. Goto End
  74.  
  75. :SemaphoreExit
  76. Goto End
  77.  
  78. :HostShutDown
  79. Goto End
  80.  
  81. :End
  82.  
  83. EXIT
  84.